package com.nchu.chatserver.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 王小航
 * @Date: 2025/05/07/15:08
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("users")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "username", condition = SqlCondition.LIKE)
    private String username;
    private String password;
    private String ip;
    private Boolean isOnline;
}